<div class="bodytabdiv">
<table class="bodytab colortab" cellspacing="1">
	<tr>
		<td class="th" width="120" align="center">组名</th>
		<td class="th"  align="center">字段</th>
		<td class="th" width="40" align="center">优先级</th>
		<td class="th" width="80" align="center">操作</th>
	</tr>
	{-foreach from=$L item=a-}
	<tr>
		<td> {-$a.name-} </td>
		<td>
			{-foreach from=$Fields item=b key=fid-}
				{-if $a.id == $b.gid -}
					<a href="?mod={-$_GET.mod-}&fun=field&act=edit&pid={-$_GET.pid-}&id={-$b.id-}">{-$b.fieldName-}</a>
				{-/if-}
			{-/foreach-}
		</td>
		<td align="center"> {-$a.iOrder-} </td>

		<td align="center">
			<a href="{-$body.url-}&act=edit&id={-$a.id-}">修改</a>
			<a href="?mod={-$_GET.mod-}&fun=field&act=add&pid={-$_GET.pid-}&gid={-$a.id-}">添加</a>
			<a href="{-$body.url-}&act=del&id={-$a.id-}" onclick="return confirm('你确定要删除分组 `{-$a.name-}` 吗?');">删除</a>
		</td>
	</tr>
	{-/foreach-}
</table>
</div>

<div style='padding:8px 0px; 0px'>
	<div style='background:#f0f0f0;border:1px solid #E7E3E5;padding:6px;font-size:12px;color:#666;'>
		{-$tips-}
	</div>
</div>


<div class='bodyfooter'>
	&nbsp;{-$_ENV.page.html-}
</div>